﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VehicleScale.Models
{
    public class CategoryModel : ModelBase
    {

        #region Properties
        private string _categoryID;
        public string CategoryID
        {
            get { return _categoryID; }
            set {
                if (_categoryID != value)
                {
                    _categoryID = value;
                }
            }
        }

        private string _categoryName;
        public string CategoryName
        {
            get { return _categoryName; }
            set
            {
                if (_categoryName != value)
                {
                    _categoryName = value;
                }
            }
        }

        private string _description;
        public string Description
        {
            get { return _description; }
            set
            {
                if (_description != value)
                {
                    _description = value;
                }
            }
        }

        private IList<ProductModel> _products;
        public IList<ProductModel> Products
        {
            get { return _products; }
            set 
            {
                if (_products != value)
                {
                    _products = value;
                }
            }
        }
        #endregion

    }
}
